﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CalendarLibrary
{
    [Serializable]
    public class CalendarItem
	{
		private DateTime m_startTime = DateTime.MinValue;
		private DateTime m_endTime = DateTime.MinValue;
		private string m_description = String.Empty;
		private bool m_isTentative = false;

		public CalendarItem(DateTime startTime, DateTime endTime, string description, bool isTentative)
		{
			m_startTime = startTime;
			m_endTime = endTime;
			m_description = description;
			m_isTentative = isTentative;
		}

		public DateTime StartTime
		{
			get
			{
				return m_startTime;
			}
			set
			{
				m_startTime = value;
			}
		}

		public DateTime EndTime
		{
			get
			{
				return m_endTime;
			}
			set
			{
				m_endTime = value;
			}
		}

		public string Description
		{
			get
			{
				return m_description;
			}
			set
			{
				m_description = value;
			}
		}

		public bool IsTentative
		{
			get
			{
				return m_isTentative;
			}
			set
			{
				m_isTentative = value;
			}
		}
	}
}
